import request from "@/utils/request";

//查询账号列表
export function listPower(data) {
  return request({
    url: "/role/query",
    method: "post",
    data: data, //post:data;get:params
  });
}
//新增账号
export function addPower(data) {
  return request({
    url: "/role/add",
    method: "post",
    data: data,
  });
}
